#pragma once

#include<stdio.h>
#include<stdlib.h>
#include<time.h>

#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS COL+2
#define MINE 10

void Init_board(char board[ROWS][COLS], int rows, int cols, char set);
void Print_mine_board(char board[ROWS][COLS], int row, int col);
void Print_show_board(char board[ROWS][COLS], int row, int col);
void Set_mine(char board[ROWS][COLS], int row, int col, int mine);
void Find_mine(char mine[ROWS][COLS], char show[ROWS][COLS], int rows, int cols, int count);



